QuickTime 3 For Windows Programmers

| Previous | Chapter Contents | Chapter Top | Next |

GetPictFromDIB

You use the GetPictFromDIB function to create a QuickDraw PicHandle from a handle to a DIB.

PicHandle GetPictFromDIB (void *h);
h
A handle to a DIB

DESCRIPTION

The GetPictFromDIB function returns a PicHandle when passed a handle to a DIB. The caller is responsible for releasing the memory of the PicHandle . You call the function KillPicture to release the memory of PicHandle .

Note that this function does not work for HBITMAP .

The format of the DIB handle is the same as returned by GetClipboardData with CF_DIB .


© 1998 Apple Computer, Inc.

| Previous | Chapter Contents | Chapter Top | Next |